class AccountDao{
    public data = {
        loginright: LobsterAPI.ProgramData('loginright'),
        dbConn: LobsterAPI.ProgramData('dbConn'),
        resultdata: { data: {} }
    }
    /**
     * 获取用户信息
     * @param userId 
     */
    getAccount(userId){
        var self = this;  
        var strsql = " select * from WT_Account  where UserId=?";
        var dbparams = []; 
        dbparams.push(userId);
        return LobsterAPI.DbGetJsonObject(self.data.dbConn, strsql, dbparams) ;
    } 
}